package com.education.welco.mapper;

import com.education.welco.pojo.SysSensitiveWord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface SysSensitiveWordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysSensitiveWord record);

    int insertSelective(SysSensitiveWord record);

    SysSensitiveWord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysSensitiveWord record);

    int updateByPrimaryKey(SysSensitiveWord record);

    List<SysSensitiveWord> getSysSensitiveWordList(SysSensitiveWord sysSensitiveWord);

    int updateBySensitiveWord(Map map);
}
